import store from '@/store'

export default {
  methods: {
    // 显示新增员工按钮
    showBtn(data) {
      const arr = store.state.user.userInfo.roles.points.indexOf(data) >
                -1
      return arr
    }
  }
}
